#{extends 'main.html' /}
#{set title:'Home' /}
<!DOCTYPE html>
<html>
    <head>
        <title>注册用户</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <script type="text/javascript" charset="${_response_encoding}">
		    sessvars.$.clearMem()
		</script>
    </head>
<body>
	<div id="login">
	    
	    #{form @login(), id:'formLogin'}
	        <p class="field">
	            <label>用户名:</label>
	            <input type="text" name="username" size="19" value="${flash.username}" />
	        </p>
	        <p class="field">
	            <label>密&nbsp;&nbsp;&nbsp;码:</label>
	            <input type="password" name="password" size="19"/>
	        </p>    
	        <p class="buttons">
	            <input type="submit" value="用户登陆" />
	        </p> 
	    #{/form}
	
	    <p>
	        <a href="@{register()}">注册新用户</a>
	    </p>
	
	</div>
</body>